package com.sixth.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sixth.until.CommonResult;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * tb_zone
 * @author 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_zone")  //引入mp
@ApiModel(value="Zone对象", description="专区表") //引入swagger2
public class Zone implements Serializable {
    /**
     * 主键
     */
    private String id;

    /**
     * 创建时间
     */
    private Date gmtCreate;

    /**
     * 修改时间
     */
    private Date gmtModified;

    /**
     * 状态(1:正常;0:禁用)
     */
    private Integer isDeleted;

    /**
     * 排序
     */
    private Integer isDisable;

    /**
     * 名称
     */
    private String zoneName;

    /**
     * 描述
     */
    private String zoneDesc;

    @TableField(exist = false)
    private String cover;


    @TableField(exist = false)
    private Double price;

    @TableField(exist = false)
    private String courseName;

    @TableField(exist = false)
    private List<Course> courseList;
    private static final long serialVersionUID = 1L;
}